<?php
	class indexController extends Controller
	{
		public function index()
		{
			$this->registry->template->welcome = 'Hello World, this is the welcome content.';

			if($this->registry->auth->login('kevin', 'test'))
				$this->registry->template->login = 'LOGGEDINSTATUS: Ingelogd';
			else
				$this->registry->template->login = 'LOGGEDINSTATUS: Niet Ingelogd';

			$this->registry->template->menu = '<ul><li><a href="TEST">test</a></li></ul>';

			$this->registry->template->show('index', array('header', CONTROLLER, 'footer'));
		}

		/*public function view()
		{
			$this->registery->template->blog_heading = 'This is the body heading';
			$this->registery->template->blog_content = 'this is the body content';
			$this->registery->template->show('blog_view');
		}*/
	}
?>